<template>
  <div class="empl pro-top">

    <div class="nav">
      <ul>
        <li>
          <router-link :to="{name:'product.productLots'}" replace>
            <span class="nav-text">拍品</span>
          </router-link>
        </li>
        <li class="nav-special">
          <router-link :to="{name:'product.productSpecial'}" replace>
            <span class="nav-text">专场<i class="icon icon-xia"></i></span>
          </router-link>
        </li>
        <li>
          <router-link :to="{name:'product.productShop'}" replace>
            <span class="nav-text">店铺</span>
          </router-link>
        </li>
      </ul>
    </div>

    <router-view></router-view>

    <footer-vue></footer-vue>
  </div>
</template>

<script>
  export default {
    name: "product",
    data(){
      return {
      }
    }
  }
</script>

<style scoped>
  .pro-top{
    padding-top: 2rem;
  }
  /*导航栏*/
  .nav{
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }
  .nav>ul{
    display: flex;
    justify-content: space-between;
    position: relative;
  }
  .nav>ul:after{
    content: '';
    display: block;
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: -1;
    height: 1px;
    background: #E5E5E5;
  }
  .nav>ul>li{
    flex-grow: 1;
    text-align: center;
  }
  .nav-text{
    font-size: 0.8rem;
    color: #282828;
    padding: 0 1rem;
    display: inline-block;
    height: 2rem;
    line-height: 2rem;
    box-sizing: border-box;
  }
  .nav-special .nav-text .icon-xia{
    color: #282828;
  }
  .nav-special .router-link-active .nav-text{
    background-image: url("../../../static/images/prdMoreTypeActive.png");
  }
  .router-link-active .nav-text{
    color: #C50000 !important;
    border-bottom: 2px #C50000 solid;
  }

</style>
